package com.xms.file.service;

import com.xms.core.data.Entity;
import com.xms.core.model.PagedList;

import java.util.UUID;

/**
 * <p>
 * IAttachmentFinderService
 * </p>
 *
 * @author migo
 * @since 2021/9/26
 */
public interface IAttachmentFinderService {

    Entity getById(UUID id) throws Exception;

    PagedList<Entity> page(int page, int pageSize, UUID entityId, UUID objectId) throws Exception;
}
